package com.zero.common;

public class SigletonLock {

    private static SigletonLock instance = null;
    private SigletonLock(){}

    public SigletonLock getInstance(){
        if(instance == null){
            synchronized (this){
                if(instance == null){
                    instance = new SigletonLock();
                }
            }
        }
        return instance;
    }
}
